home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-05-04 | 1.9 KB | 94 lines | [TEXT/MPS ] |
- # Makefile for Xconq documentation.
- # Copyright (C) 1993, 1994 Stanley T. Shebs.
-
- # Xconq is free software; you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation; either version 2, or (at your option)
- # any later version.
-
- prefix = .
-
- srcdir = .
-
- SHELL = /bin/sh
-
- CC = cc
-
- CFLAGS = -g
-
- TEX = tex
-
- TEXINDEX = texindex
-
- # Where to find texinfo; dist should include a recent one.
-
- TEXIDIR = .
-
- SET_TEXINPUTS = TEXINPUTS=${TEXIDIR}:.:$(srcdir):$$TEXINPUTS
-
- # Pretty output for your favorite fancy printer.
-
- #TROFFER = psroff
- #PRINTER = csps
-
- DOCFILES = $(srcdir)/xconq.texi \
- $(srcdir)/play.texi \
- $(srcdir)/design.texi \
- $(srcdir)/refman.texi \
- $(srcdir)/hacking.texi \
- $(srcdir)/glossary.texi \
- $(srcdir)/syntax.texi \
-
- # Host and target-dependent makefile fragments come in here.
- ####
- # End of host and target-dependent makefile fragments.
-
- .c.o:
- $(CC) -c $(ALL_CFLAGS) $<
-
- all:
-
- install:
-
- install-only:
-
- dvi: quickref.dvi xconq.dvi
-
- quickref.dvi: $(srcdir)/quickref.texi syms.texi
- $(SET_TEXINPUTS) $(TEX) $(srcdir)/quickref.texi
-
- syms.texi: syms.raw kwic
- ./kwic -dots -pad -breakup <syms.raw >syms.texi
-
- syms.raw: $(srcdir)/getsyms.sh $(srcdir)/refman.texi
- $(srcdir)/getsyms.sh $(srcdir)/refman.texi >syms.raw
-
- xconq.dvi: $(DOCFILES)
- $(SET_TEXINPUTS) $(TEX) $(srcdir)/xconq.texi
- $(TEXINDEX) xconq.??
- $(SET_TEXINPUTS) $(TEX) $(srcdir)/xconq.texi
-
- html:
- $(srcdir)/texi2html -split_node -glossary -menu -verbose $(srcdir)/xconq.texi
-
- kwic: kwic.o
- $(CC) $(CFLAGS) -o kwic kwic.o
-
- clean:
- rm -f *.dvi
- rm -f *.o
- rm -f kwic
-
- distclean: clean
- rm -f *.aux *.log *.toc
- rm -f *.cp* *.fn* *.ky* *.pg* *.tp* *.vr*
- rm -f Makefile config.status
-
- extraclean: distclean
- rm -f *~* .*~*
-
- realclean: distclean
-
- Makefile: Makefile.in $(host_makefile_frag) $(target_makefile_frag)
- $(SHELL) config.status
-